package thread;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86185
 * Date: 2023-07-29
 * Time: 15:02
 */
class Point{
    private double x;
    private double y;
    private Point(double x, double y) {
        this.x = x;
        this.y = y;
    }
    public static Point makePointXY(double x, double y) {
        return new Point(x, y);
    }
    public static Point makePointRA(double r, double a) {
        return new Point(r, a);
    }
}
public class Demo23 {
    public static void main(String[] args) {
        ExecutorService service = Executors.newFixedThreadPool(4);
        service.submit(new Runnable() {
            @Override
            public void run() {

            }
        });
    }
}
